<?php
	require_once("oh.framework/oh.framework.php");
	oh(config)->from_string("db.username=f.bianco&db.password=stardust&db.name=users_fbianco1");
	
	oh(model)->reinstall();	

	oh("model")->new_class("image");
	oh("model")->new_class("post&define=image:picture");

	oh_dump(
		oh("model")->get_class("post")
	);

	oh("model")->new_object("post&picture=home.jpg");

	oh_dump(
		oh("model")->get_object("form=post&id=1"),
		"L'oggetto"
	);

	oh("model")->new_class(array(
		"name"=>"immagine",
		"object"=>array(
			"name"
		)
	));

	oh("adminer");
?>
